package dto;

public class TestScoreDTO {
	private int _id;
	private int _testID;
	public int _titleID;
	public int _totalScore;
	
	public TestScoreDTO() {
		this._id = 0;
		this._testID = 0;
		this._titleID = 0;
		this._totalScore = 0;
	}
	
	public TestScoreDTO(TestScoreDTO testScore) {
		this._id = testScore._id;
		this._testID = testScore._testID;
		this._titleID = testScore._titleID;
		this._totalScore = testScore._totalScore;
	}
	
	public TestScoreDTO(int id, int testID, int titleID, int totalScore) {
		this._id = id;
		this._testID = testID;
		this._titleID = titleID;
		this._totalScore = totalScore;
	}
	
	public void update(TestScoreDTO testScore) {
		this._testID = testScore._testID;
		this._titleID = testScore._titleID;
		this._totalScore = testScore._totalScore;
	}
	
	public void setID(int id) {
		this._id = id;
	}
	public void setTestID(int testID) {
		this._testID = testID;
	}
	public void setTitleID(int titleID) {
		this._titleID = titleID;
	}
	public void setTotalScore(int score) {
		this._totalScore = score;
	}
	
	public int getID() {
		return this._id;
	}
	public int getTestID() {
		return this._testID;
	}
	public int getTitleID() {
		return this._titleID;
	}
	public int getTotalScore() {
		return this._totalScore;
	}
}